package com.block.account.service;

import com.block.account.model.dto.ChangeAmountDTO;
import com.block.db.entity.AccountInfo;
import com.block.db.entity.AccountInfoHis;
import com.baomidou.mybatisplus.extension.service.IService;

import java.math.BigDecimal;

/**
 * <p>
 * 总账户流水 服务类
 * </p>
 *
 * @author 
 * @since 2023-08-26
 */
public interface IAccountInfoHisService extends IService<AccountInfoHis> {

    boolean saveAccountHis(BigDecimal totalAmount, AccountInfo accountInfo, ChangeAmountDTO changeAmountDTO);

}
